class Base2{
    public Base2(String s){
        System.out.print("B");
    }
}
class Derived2 extends Base2{
    public Derived2 (String s) {
        super(s);
        System.out.print("D");
    }
    public static void main(String[] args){
        new Derived2("C");
    }
}